<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>json实验</title>
    <script type="text/javascript" src="/static/jquery/jquery-1.11.2.min.js"></script>
    <script type="text/javascript">
        function m_func()
        {
            alert("hello!");
        }
        $(document).ready(function(){
            $("#qingqiu").click(function(){
                $.get("/WriteJStoClient")
            });
        });



    </script>
</head>
<body>
    <p id="test">this is a heading</p>
    <input type="button" id="qingqiu" value="请求">

    <form action="/GetJson" method="post">
        {% module xsrf_form_html() %}
        <input type="text" name="j_string">
        <input type="submit" value="提交">
    </form>
</body>
</html>